import i18n from '@/i18n'
import Vue from 'vue'

let vueI18n = new Vue({
  i18n
})

const transponder = {
  state: {
    checkRules: {
      name: [
        // 请输入转发器名称
        { required: true, message: vueI18n.$t('message.validate.resources.transponder.name'), trigger: 'blur' }
      ],
      gain: [
        // 请输入增益
        { required: true, message: vueI18n.$t('message.validate.resources.transponder.gain'), trigger: 'blur' }
      ],
      frequency_difference: [
        // 请输入频差
        { required: true, message: vueI18n.$t('message.validate.resources.transponder.frequency_difference'), trigger: 'blur' },
        // 请输入数字
        { type: 'number', min: 0, max: 10000000, message: vueI18n.$t('message.validate.resources.transponder.frequency_difference_range'), trigger: 'blur' }
      ]
    }
  },
  mutations: {
  },
  actions: {
  }
}
export default transponder
